package me.ylduan.framework.bean;

import java.lang.reflect.Method;

/**
 * 封装 Action 信息
 *
 * @author Zero
 * @created 2017/5/12 14:16
 */
public class Handler {
    private Class<?> controllerClass; // controller
    private Method actionMethod; // Action方法

    public Handler(Class<?> controllerClass, Method actionMethod) {
        this.controllerClass = controllerClass;
        this.actionMethod = actionMethod;
    }

    public Class<?> getControllerClass() {
        return controllerClass;
    }

    public Method getActionMethod() {
        return actionMethod;
    }
}
